import { Column, ResPage } from "@/api/interface/userList";
import { PORT1 } from "@/api/config/servicePort";
// import tableColum from "@/assets/json/userList.json";

import http from "@/api";

export const getTableColums = async (params: Column.ReqColumnParams) => {
  const response = await http.post<ResPage<Column.ResColumnList>>(PORT1 + "/admin/users", params);
  // return tableColum.data;
  return response.data;
};
